home *** CD-ROM | disk | FTP | other *** search
- on einstallcontrolsideboard
- global contentsprite, roomnumber, rectlist, actslist, copyactslist, newview, nextnum, pagedown, pageup, prerectlistnum
- case roomnumber & newview of
- "0001":
- set rectlist to [rect(0, 0, 157, 27), rect(0, 30, 157, 44)]
- set actslist to ["JumptoNode 1", "JumptoNode 5"]
- "1001":
- set rectlist to [rect(0, 0, 143, 14), rect(0, 15, 143, 29), rect(0, 30, 143, 44), rect(0, 46, 143, 60)]
- set actslist to ["ToWhichRoom 105", "ToWhichRoom 106", "ToWhichRoom 109", "ToWhichRoom 111"]
- "2001":
- set rectlist to [rect(0, 0, 186, 28), rect(0, 31, 186, 45), rect(0, 47, 186, 76)]
- set actslist to ["ToWhichRoom 202", "ToWhichRoom 203", "ToWhichRoom 204"]
- "2002":
- set rectlist to [rect(0, 0, 177, 27), rect(0, 30, 177, 61), rect(0, 62, 177, 76)]
- set actslist to ["ToWhichRoom 205", "ToWhichRoom 207", "ToWhichRoom 211"]
- "3001":
- set rectlist to [rect(0, 0, 187, 14), rect(0, 15, 187, 45), rect(0, 47, 187, 61), rect(0, 62, 187, 76)]
- set actslist to ["ToWhichRoom 304", "ToWhichRoom 305", "ToWhichRoom 306", "ToWhichRoom 307"]
- "3002":
- set rectlist to [rect(0, 0, 187, 14), rect(0, 15, 187, 29), rect(0, 32, 187, 46), rect(0, 48, 187, 76)]
- set actslist to ["ToWhichRoom 308", "ToWhichRoom 311", "ToWhichRoom 312", "ToWhichRoom 314"]
- "3003":
- set rectlist to [rect(0, 0, 187, 30)]
- set actslist to ["ToWhichRoom 315"]
- "1051":
- set rectlist to [rect(0, 0, 187, 12), rect(0, 14, 187, 44), rect(0, 47, 187, 77)]
- "1052":
- set rectlist to [rect(0, 0, 187, 12), rect(0, 14, 187, 44), rect(0, 47, 187, 77)]
- "1053":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "1054":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "1055":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "1056":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "1057":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "1058":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62), rect(0, 63, 187, 78)]
- "1059":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "10510":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "10511":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "10512":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "10513":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "10514":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62), rect(0, 63, 187, 78)]
- "10515":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "10516":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "10517":
- set rectlist to [rect(0, 0, 187, 43), rect(0, 45, 187, 60), rect(0, 63, 187, 78)]
- "1061":
- set rectlist to [rect(0, 0, 187, 12), rect(0, 15, 187, 45), rect(0, 47, 187, 59), rect(0, 63, 187, 75)]
- "1062":
- set rectlist to [rect(0, 0, 187, 12), rect(0, 15, 187, 27), rect(0, 32, 187, 44)]
- "1111":
- set rectlist to [rect(0, 0, 187, 12), rect(0, 14, 187, 28), rect(0, 30, 187, 60)]
- "2021":
- set rectlist to [rect(0, 0, 187, 14), rect(0, 15, 187, 29)]
- "2031":
- set rectlist to [rect(0, 0, 187, 14), rect(0, 15, 187, 29), rect(0, 30, 187, 60), rect(0, 61, 187, 75)]
- "2041":
- set rectlist to [rect(0, 0, 187, 28), rect(0, 29, 187, 43), rect(0, 45, 187, 59), rect(0, 61, 187, 75)]
- "2042":
- set rectlist to [rect(0, 0, 187, 13), rect(0, 14, 187, 28), rect(0, 30, 187, 60)]
- "2043":
- set rectlist to [rect(0, 0, 187, 27), rect(0, 31, 187, 60)]
- "2051":
- set rectlist to [rect(0, 0, 187, 13), rect(0, 15, 187, 43), rect(0, 46, 187, 61)]
- "2052":
- set rectlist to [rect(0, 0, 187, 29), rect(0, 32, 187, 61), rect(0, 63, 187, 78)]
- "2053":
- set rectlist to [rect(0, 0, 187, 29), rect(0, 31, 187, 45)]
- "2071":
- set rectlist to [rect(0, 0, 187, 29), rect(0, 31, 187, 46), rect(0, 47, 187, 76)]
- "2072":
- set rectlist to [rect(0, 0, 187, 29), rect(0, 32, 187, 61)]
- "2073":
- set rectlist to [rect(0, 0, 187, 29), rect(0, 31, 187, 44), rect(0, 46, 187, 75)]
- "2074":
- set rectlist to [rect(0, 0, 187, 29), rect(0, 31, 187, 60)]
- "2075":
- set rectlist to [rect(0, 0, 187, 29), rect(0, 31, 187, 60), rect(0, 62, 187, 78)]
- "2076":
- set rectlist to [rect(0, 0, 187, 29), rect(0, 31, 187, 75)]
- "2077":
- set rectlist to [rect(0, 0, 187, 29), rect(0, 31, 187, 60)]
- "2078":
- set rectlist to [rect(0, 0, 187, 29), rect(0, 31, 187, 60)]
- "2079":
- set rectlist to [rect(0, 0, 187, 29), rect(0, 31, 187, 60), rect(0, 62, 187, 78)]
- "20710":
- set rectlist to [rect(0, 0, 187, 29), rect(0, 31, 187, 46), rect(0, 47, 187, 76)]
- "20711":
- set rectlist to [rect(0, 0, 187, 13), rect(0, 15, 187, 44), rect(0, 46, 187, 75)]
- "20712":
- set rectlist to [rect(0, 0, 187, 14), rect(0, 15, 187, 29), rect(0, 31, 187, 61)]
- "20713":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62), rect(0, 63, 187, 77)]
- "2111":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "2112":
- set rectlist to [rect(0, 0, 187, 45), rect(0, 47, 187, 77)]
- "2113":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "2114":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "3051":
- set rectlist to [rect(0, 0, 187, 30)]
- "3061":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "3062":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62)]
- "3063":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 75)]
- "3064":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 32, 187, 62), rect(0, 64, 187, 78)]
- "3065":
- set rectlist to [rect(0, 0, 187, 30)]
- "3071":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 31, 187, 46), rect(0, 47, 187, 61), rect(0, 62, 187, 76)]
- "3072":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 31, 187, 61)]
- "3073":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 31, 187, 44), rect(0, 46, 187, 76)]
- "3074":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 31, 187, 61)]
- "3075":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 31, 187, 45), rect(0, 47, 187, 61)]
- "3076":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 31, 187, 61)]
- "3081":
- set rectlist to [rect(0, 0, 187, 44), rect(0, 47, 187, 77)]
- "3121":
- set rectlist to [rect(0, 0, 187, 43), rect(0, 47, 187, 77)]
- "3122":
- set rectlist to [rect(0, 0, 187, 28), rect(0, 30, 187, 60), rect(0, 62, 187, 78)]
- "3123":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 31, 187, 61)]
- "3124":
- set rectlist to [rect(0, 0, 187, 30), rect(0, 31, 187, 61)]
- "3125":
- set rectlist to [rect(0, 0, 187, 30)]
- "3141":
- set rectlist to [rect(0, 0, 194, 46)]
- end case
- if the number of member ("PickObject" && roomnumber) > 0 then
- set filelist to "PickObject" && roomnumber
- set actslist to []
- if newview = 1 then
- set nextnum to 1
- else
- if pagedown then
- set nextnum to nextnum + prerectlistnum
- else
- if pageup then
- set nextnum to nextnum - count(rectlist)
- end if
- end if
- end if
- set prerectlistnum to count(rectlist)
- repeat with i = nextnum to nextnum + count(rectlist) - 1
- append(actslist, "toObjectMovie" && QUOTE & line i of field filelist & QUOTE)
- end repeat
- end if
- set copyactslist to duplicate(actslist)
- addsbcontrol(sbcontentsprite, rectlist, actslist, #up)
- end
-